package com.kuaiyan.sdkshell.application;

import android.app.Application;
import android.util.Log;

import com.kuaiyan.sdkshell.R;
import com.wmcsk.dl.bean.SDKConfig;

import sdkshell.kuaiyan.com.kuaiyansdk.SdkInit;
import sdkshell.kuaiyan.com.kuaiyansdk.listener.KuaiyanSdkInitListener;
/**
 * Created by wm on 2017/7/11.
 */

public class SdkApplication extends Application{
    public static final String TAG = "SdkApplication";
    @Override
    public void onCreate() {
        super.onCreate();
        SDKConfig sdkConfig = new SDKConfig.Buillder().setIc_luncher(R.mipmap.ic_launcher).setIsPush(true).setAppKey("6NjCkuZBXrfVPR3eRgtPIEZ7JGkd53Ms").build();
//        SdkInit.init(this, sdkConfig, new KuaiyanSdkInitListener() {
//            @Override
//            public void onCoreInitFinished() {
//                Log.e(TAG,"KuaiyanSdk初始化完成");
//            }
//
//            @Override
//            public void onCoreInitError(String s) {
//
//            }
//        });
//        SdkInit.initMenuWealSdk(this, sdkConfig, new KuaiyanSdkInitListener() {
//            @Override
//            public void onCoreInitFinished() {
//                Log.e(TAG,"MenuWealSdk初始化完成");
//            }
//
//            @Override
//            public void onCoreInitError(String s) {
//
//            }
//        });
//        SdkInit.initSignSdk(this, sdkConfig, new KuaiyanSdkInitListener() {
//            @Override
//            public void onCoreInitFinished() {
//                Log.e(TAG,"SignSdk初始化完成");
//            }
//
//            @Override
//            public void onCoreInitError(String s) {
//
//            }
//        });
        SdkInit.initSelectShareSdk(this, sdkConfig, new KuaiyanSdkInitListener() {
            @Override
            public void onCoreInitFinished() {
                Log.e(TAG,"SelectShareSdk初始化完成");
            }

            @Override
            public void onCoreInitError(String s) {

            }
        });
    }
}
